package com.iurac.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class UrlController {

    @RequestMapping("/toWorkbench.do")
    public String toWorkbench() {
        return "index";
    }
    @RequestMapping("/toHome.do")
    public String toHome() {
        return  "home";
    }
    @RequestMapping("/toDateShow.do")
    public String toDateShow() {
        return  "dateShow";
    }
    @RequestMapping("/toStatus.do")
    public String toStatus() {
        return  "borrow/status";
    }
    @RequestMapping("/toHistory.do")
    public String toHistory() {
        return  "borrow/history";
    }
    @RequestMapping("/toBook.do")
    public String toBook() {
        return  "manage/book";
    }
    @RequestMapping("/toUser.do")
    public String toUser() {
        return  "manage/user";
    }
    @RequestMapping("/toDictionary.do")
    public String toDictionary() {
        return "manage/dictionary";
    }
}
